# Maintainer : Laurent Carlier <lordheavym@gmail.com>
# Contributor: Jeff Mickey <j@codemac.net>
# Contributor: Henrik Ronellenfitsch <henrik at searinox dot de>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>

pkgname=mdf2iso
pkgver=0.3.1
pkgrel=4
pkgdesc='Converts Alcohol 120% .mdf files to .iso files'
arch=('loong64' 'x86_64')
url='https://salsa.debian.org/debian/mdf2iso'
license=('GPL')
depends=('glibc')
source=(http://http.debian.net/debian/pool/main/m/mdf2iso/mdf2iso_${pkgver}.orig.tar.gz)
sha256sums=('906f0583cb3d36c4d862da23837eebaaaa74033c6b0b6961f2475b946a71feb7')

build() {
  cd ${pkgname}-${pkgver}

  ./configure --prefix=/usr
  make
}

package() {
  cd ${pkgname}-${pkgver}

  make DESTDIR="${pkgdir}" install
}
